<template>
	<view class="uni-padding-wrap uni-common-mt">
		<view class="uni-btn-v">
			<navigator url="newpage/newpage?title=newpage" hover-class="navigator-hover">
				<button type="default">跳转到新页面</button>
			</navigator>
			<navigator url="newpage/newpage?title=redirect" open-type="redirect">
			 <button type="default">在当前页面打开</button>
			 </navigator>
			 <navigator v-if="!hasLeftWin" url="/pages/tabBar/api/api" open-type="switchTab">
			 <button type="default">跳转到tab页面</button>
			 </navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title:'navigator'
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
